import { Action } from 'redux';
import defaultState from './state';
import { IState } from './typings';

const reducer = <T> (state = defaultState, action: Action<T>): IState => {
  switch (action.type) {
    default:
      return state;
  }
}

export default reducer;
